package com.heima.springai.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 噤玥
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("chat_history")
public class ChatHistory {

    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private String id;

    @TableField("chat_id")
    private String chatId;

    @TableField("type")
    private String type;

    private String historyMessages;
}
